package com.destiny.service.impl;

import com.destiny.entity.Hero;
import com.destiny.entity.Monster;
import com.destiny.entity.Skill;
import com.destiny.mapper.HeroMapper;
import com.destiny.mapper.MonsterMapper;
import com.destiny.service.MonsterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author et2110
 * @since 2022-03-10
 */
@Service
public class MonsterServiceImpl extends ServiceImpl<MonsterMapper, Monster> implements MonsterService {

    @Autowired
    MonsterMapper monsterMapper;

    /**
     * 查询怪物信息
     *
     * @return
     */
    @Override
    public List<Monster> getMonster() {
        return monsterMapper.getMonster();
    }

}
